package com.gkt.ec.cms.activity.model.domain;

import com.gkt.ec.commons.shared.commons.entity.DataEntity;
import com.gkt.ec.commons.shared.commons.entity.StringId;

import java.io.Serializable;

/**
 * Created by 14081593 on 2015/11/28.
 */
public class CustomerVehicleEntity extends DataEntity<CustomerVehicleEntity, StringId> implements Serializable {
    private static final long serialVersionUID = 1L;

    //车辆id
    private String id;

    private StringId uuid;

    private Long customId;
    //用户昵称
    private String middleName;
    //电话
    private String cellphoneNumber;
    //性别
    private String gender;
    //年龄
    private String ageRange;
    //品牌
    private String vehicleBrand;
    //车辆型号
    private String vehicleSeries;
    //车牌
    private String vehicleLicense;
    //公里
    private String vehicleYears;
    //年限
    private String vehicleMiles;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
        setUuid(id);
    }

    @Override
    public StringId getUuid() {
        return uuid;
    }

    @Override
    public void setUuid(String uuid) {
        this.uuid = new StringId(uuid);
    }

    public Long getCustomId() {
        return customId;
    }

    public void setCustomId(Long customId) {
        this.customId = customId;
    }

    public String getMiddleName() {
        return middleName;
    }

    public void setMiddleName(String middleName) {
        this.middleName = middleName;
    }

    public String getCellphoneNumber() {
        return cellphoneNumber;
    }

    public void setCellphoneNumber(String cellphoneNumber) {
        this.cellphoneNumber = cellphoneNumber;
    }

    public String getGender() {
        return gender;
    }

    public void setGender(String gender) {
        this.gender = gender;
    }

    public String getAgeRange() {
        return ageRange;
    }

    public void setAgeRange(String ageRange) {
        this.ageRange = ageRange;
    }

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public String getVehicleBrand() {
        return vehicleBrand;
    }

    public void setVehicleBrand(String vehicleBrand) {
        this.vehicleBrand = vehicleBrand;
    }

    public String getVehicleSeries() {
        return vehicleSeries;
    }

    public void setVehicleSeries(String vehicleSeries) {
        this.vehicleSeries = vehicleSeries;
    }

    public String getVehicleLicense() {
        return vehicleLicense;
    }

    public void setVehicleLicense(String vehicleLicense) {
        this.vehicleLicense = vehicleLicense;
    }

    public String getVehicleYears() {
        return vehicleYears;
    }

    public void setVehicleYears(String vehicleYears) {
        this.vehicleYears = vehicleYears;
    }

    public String getVehicleMiles() {
        return vehicleMiles;
    }

    public void setVehicleMiles(String vehicleMiles) {
        this.vehicleMiles = vehicleMiles;
    }

    @Override
    public String toString() {
        return "CustomerVehicleEntity{" +
                "id='" + id + '\'' +
                ", uuid=" + uuid +
                ", customId=" + customId +
                ", middleName='" + middleName + '\'' +
                ", cellphoneNumber='" + cellphoneNumber + '\'' +
                ", gender='" + gender + '\'' +
                ", ageRange='" + ageRange + '\'' +
                ", vehicleBrand='" + vehicleBrand + '\'' +
                ", vehicleSeries='" + vehicleSeries + '\'' +
                ", vehicleLicense='" + vehicleLicense + '\'' +
                ", vehicleYears='" + vehicleYears + '\'' +
                ", vehicleMiles='" + vehicleMiles + '\'' +
                '}';
    }
}
